home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Systemmonitors / AskTask / trans.c < prev    next >
Text File  |  1996-09-26  |  959b  |  22 lines

  1. /* trans.c */
  2. /*************************************************************************
  3.  ***                RAW to ASCII Translation Module                    ***
  4.  *** Date begun: 1/4/89.                                               ***
  5.  *** Last modified: 1/4/89.                                            ***
  6.  *************************************************************************/
  7.  
  8. static char translate[256] = {
  9.     '`','1','2','3','4','5','6','7','8','9','0','-','=',0x5c,0x0,'0',
  10.     'q','w','e','r','t','y','u','i','o','p','[',']',0x0,'1','2','3',
  11.     'a','s','d','f','g','h','j','k','l',';',0x2c,0x0,0x0,'4','5','6',
  12.     0x0,'z','x','c','v','b','n','m',',','.','/',0x0,'.','7','8','9',
  13.     ' ',0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,'-',0x0,0x0,0x0,0x0,0x0,
  14.     0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
  15. };
  16.  
  17. char    trans(i) /*======================================================*/
  18. int     i;
  19. {
  20.     return(translate[i]);
  21. }
  22.